package com.kexin.abuwx.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.kexin.abuwx.mapper.AbucoderSearchMapper;
import com.kexin.abuwx.domain.AbucoderSearch;
import com.kexin.abuwx.service.IAbucoderSearchService;

/**
 * 信息查询Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-03-26
 */
@Service
public class AbucoderSearchServiceImpl implements IAbucoderSearchService 
{
    @Autowired
    private AbucoderSearchMapper abucoderSearchMapper;

    /**
     * 查询信息查询
     * 
     * @param id 信息查询主键
     * @return 信息查询
     */
    @Override
    public AbucoderSearch selectAbucoderSearchById(Long id)
    {
        return abucoderSearchMapper.selectAbucoderSearchById(id);
    }

    /**
     * 查询信息查询列表
     * 
     * @param abucoderSearch 信息查询
     * @return 信息查询
     */
    @Override
    public List<AbucoderSearch> selectAbucoderSearchList(AbucoderSearch abucoderSearch)
    {
        return abucoderSearchMapper.selectAbucoderSearchList(abucoderSearch);
    }

    /**
     * 新增信息查询
     * 
     * @param abucoderSearch 信息查询
     * @return 结果
     */
    @Override
    public int insertAbucoderSearch(AbucoderSearch abucoderSearch)
    {
        return abucoderSearchMapper.insertAbucoderSearch(abucoderSearch);
    }

    /**
     * 修改信息查询
     * 
     * @param abucoderSearch 信息查询
     * @return 结果
     */
    @Override
    public int updateAbucoderSearch(AbucoderSearch abucoderSearch)
    {
        return abucoderSearchMapper.updateAbucoderSearch(abucoderSearch);
    }

    /**
     * 批量删除信息查询
     * 
     * @param ids 需要删除的信息查询主键
     * @return 结果
     */
    @Override
    public int deleteAbucoderSearchByIds(Long[] ids)
    {
        return abucoderSearchMapper.deleteAbucoderSearchByIds(ids);
    }

    /**
     * 删除信息查询信息
     * 
     * @param id 信息查询主键
     * @return 结果
     */
    @Override
    public int deleteAbucoderSearchById(Long id)
    {
        return abucoderSearchMapper.deleteAbucoderSearchById(id);
    }
}
